﻿<%@ Control Language="C#" AutoEventWireup="true" Inherits="Products" CodeFile="~/Module/Products.ascx.cs" %>
<div class="show_product2">
    <div class="rows_product_title bg_title_ctsp">
        <div class="col_1_product title_col_product">
            Sản phẩm</div>
        <div class="col_2_product title_col_product">
            Mô tả</div>
        <div class="col_3_product title_col_product">
            Giá bán</div>
        <div class="col_4_product title_col_product">
            Sẳn hàng</div>
    </div>
    <asp:Repeater ID="rptProducts" runat="server">
        <ItemTemplate>
            <div class="rows_product1 border_row_product">
                <div class="col_1_product">
                    <a href="<%=Page.ResolveClientUrl("~/") %>chi-tiet-san-pham/<%# DataBinder.Eval(Container.DataItem,"CateID") %>/<%# DataBinder.Eval(Container.DataItem,"ProductID") %>/<%#WebComponents.ConvertType.StripDiacritics(Eval("ProductName").ToString()) %>-.aspx"
                        rel="prettyPhoto" title="<%#DataBinder.Eval(Container.DataItem,"ProductName")%>">
                        <asp:Image ID="imgDescription" runat="server" Width="162px" BorderWidth="0px" AlternateText='<%#DataBinder.Eval(Container.DataItem,"ProductName")%>'
                            CssClass="pic_border" />
                    </a>
                </div>
                <div class="col_2_product">
                    <p>
                        <a href="<%=Page.ResolveClientUrl("~/") %>chi-tiet-san-pham/<%# DataBinder.Eval(Container.DataItem,"CateID") %>/<%# DataBinder.Eval(Container.DataItem,"ProductID") %>/<%#WebComponents.ConvertType.StripDiacritics(Eval("ProductName").ToString()) %>-.aspx"
                            title="<%#DataBinder.Eval(Container.DataItem,"ProductName")%>" class="link_title_product">
                            <%#DataBinder.Eval(Container.DataItem,"ProductName")%></a></p>
                    <p class="txt_detail">
                        <%#DataBinder.Eval(Container.DataItem,"ShortDescription")%></p>
                </div>
                <asp:Repeater ID="rptNhomGia" runat="server">
                    <HeaderTemplate>
                        <div class="col_3_product">
                            <div class="number">
                                Số lượng</div>
                            <div class="price">
                                Giá bán</div>
                    </HeaderTemplate>
                    <ItemTemplate>
                        <div class="txt_number">
                            <%#DataBinder.Eval(Container.DataItem,"AttributeValue")%></div>
                        <div class="txt_price">
                            <%#DataBinder.Eval(Container.DataItem,"AttributeValue1")%></div>
                    </ItemTemplate>
                    <FooterTemplate>
                        </div>
                    </FooterTemplate>
                </asp:Repeater>
                <div class="col_4_product padding_soluong">
                    <%#DataBinder.Eval(Container.DataItem,"Comments")%></div>
            </div>
        </ItemTemplate>
        <AlternatingItemTemplate>
            <div class="rows_product2 border_row_product">
                <div class="col_1_product">
                    <a href="<%=Page.ResolveClientUrl("~/") %>chi-tiet-san-pham/<%# DataBinder.Eval(Container.DataItem,"CateID") %>/<%# DataBinder.Eval(Container.DataItem,"ProductID") %>/<%#WebComponents.ConvertType.StripDiacritics(Eval("ProductName").ToString()) %>-.aspx"
                        rel="prettyPhoto" title="<%#DataBinder.Eval(Container.DataItem,"ProductName")%>">
                        <asp:Image ID="imgDescription" runat="server" Width="162px" BorderWidth="0px" AlternateText='<%#DataBinder.Eval(Container.DataItem,"ProductName")%>'
                            CssClass="pic_border" />
                    </a>
                </div>
                <div class="col_2_product">
                    <p>
                        <a href="<%=Page.ResolveClientUrl("~/") %>chi-tiet-san-pham/<%# DataBinder.Eval(Container.DataItem,"CateID") %>/<%# DataBinder.Eval(Container.DataItem,"ProductID") %>/<%#WebComponents.ConvertType.StripDiacritics(Eval("ProductName").ToString()) %>-.aspx"
                            title="<%#DataBinder.Eval(Container.DataItem,"ProductName")%>" class="link_title_product">
                            <%#DataBinder.Eval(Container.DataItem,"ProductName")%></a></p>
                    <p class="txt_detail">
                        <%#DataBinder.Eval(Container.DataItem,"ShortDescription")%></p>
                </div>
                <asp:Repeater ID="rptNhomGia" runat="server">
                    <HeaderTemplate>
                        <div class="col_3_product">
                            <div class="number">
                                Số lượng</div>
                            <div class="price">
                                Giá bán</div>
                    </HeaderTemplate>
                    <ItemTemplate>
                        <div class="txt_number">
                            <%#DataBinder.Eval(Container.DataItem,"AttributeValue")%></div>
                        <div class="txt_price">
                            <%#DataBinder.Eval(Container.DataItem,"AttributeValue1")%></div>
                    </ItemTemplate>
                    <FooterTemplate>
                        </div>
                    </FooterTemplate>
                </asp:Repeater>
                <div class="col_4_product padding_soluong">
                    <%#DataBinder.Eval(Container.DataItem,"Comments")%></div>
            </div>
        </AlternatingItemTemplate>
    </asp:Repeater>
</div>
<div class="txt_align_page">
    <asp:Literal ID="lblPager" runat="server"></asp:Literal>
</div>
